<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        .wrapper{
            width:500px;
            height: 500px;
            border:1px solid black;
            display:flex;
            flex-direction: column;
        }
        .header,.footer,.left,.right{
            flex: 0 0 20%;
            border:1px solid orange;
            box-sizing: border-box;
        }
        .content{
            flex:1 1 auto;
            display: flex;
        }
        .center{
            flex:1 1 auto;
        }
        
    </style>
</head>

<body>
    <div class="wrapper">
        <div class="header"></div>
        <div class="content">
            <div class="left"></div>
            <div class="center"></div>
            <div class="right"></div>
            
        </div>
        <div class="footer"></div>
    </div>
</body>

</html>